@import 'src/styles/constants';

.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: $headerHeight;

  .main {
    display: flex;
    flex: 1;
    height: 100%;
    width: 100%;
    border-top: 0;
    // overflow-y: auto;
    // overflow-x: hidden;
    min-width: 50vw;
    
    @include desktop {
      width: 80%;
    }
  }

  .content {
    display: flex;
    flex: 1;
    width: 100%;

    &.with-navbar {
      @include desktop {
        padding-left: $navbarWidth;
      }
    }
  }
}
